首页> 外文OA文献 >Space-efficient Algorithms for Visibility Problems in Simple Polygon
【2h】

Space-efficient Algorithms for Visibility Problems in Simple Polygon

机译:简单多边形可见性问题的节省空间算法

摘要

Given a simple polygon $P$ consisting of $n$ vertices, we study the problemof designing space-efficient algorithms for computing (i) the visibilitypolygon of a point inside $P$, (ii) the weak visibility polygon of a linesegment inside $P$ and (iii) the minimum link path between a pair of pointsinside $P$. For problem (i) two algorithms are proposed. The first one is anin-place algorithm where the input array may be lost. It uses only O(1) extraspace apart from the input array. The second one assumes that the input isgiven in a read-only array, and it needs $O(\sqrt{n})$ extra space. The timecomplexity of both the algorithms are O(n). For problem (ii), we have assumedthat the input polygon is given in a read-only array. Our proposed algorithmruns in $O(n^2)$ time using O(1) extra space. For problem (iii) the time andspace complexities of our proposed algorithm are $O(kn)$ and O(1) respectively;$k$ is the length (number of links) in a minimum link path between the givenpair of points.
机译:给定一个简单的由$ n $个顶点组成的多边形$ P $,我们研究设计空间高效算法的问题,该算法用于计算(i)$ P $内点的可视性多边形,(ii)$内线段的弱可见性多边形P $和(iii)一对$ P $中的点之间的最小链接路径。针对问题(i),提出了两种算法。第一个是就地算法,其中输入数组可能会丢失。除了输入数组,它仅使用O(1)多余空间。第二个假设输入是在只读数组中给出的,它需要$ O(\ sqrt {n})$额外的空间。两种算法的时间复杂度均为O(n)。对于问题(ii),我们假设输入多边形以只读数组形式给出。我们提出的算法使用O(1)额外空间以$ O(n ^ 2)$的时间运行。对于问题(iii),我们提出的算法的时间和空间复杂度分别为$ O(kn)$和O(1); $ k $是给定点对之间的最小链接路径的长度(链接数)。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号